package com.xiaocheng.core.adapter.factory;

import com.xiaocheng.core.adapter.interfaces.Student;
import com.xiaocheng.core.adapter.interfaces.Teacher;

public class TeacherAdapter implements Teacher {
	private Student student;
	public TeacherAdapter(Student student) {
		this.student = student;
	}
	@Override
	public void say() throws Exception {
		student.say();
	}

}
